package org.cqut.system.clazz.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.cqut.framework.web.domain.BaseEntity;

/**
 *
 * @author XiAoXu
 * @TableName cw_class
 */
@TableName(value ="cw_class")
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
public class Clazz extends BaseEntity {
    /**
     * 班级编号
     */
    @TableId(value = "class_id", type = IdType.AUTO)
    private Long classId;

    /**
     * 班级名称
     */
    @TableField(value = "class_name")
    private String className;
}